package com.wml.sellPhone.pojo;

/**
 * @author Hayes
 */
public class OrderDetail {
    private Long id;

    private Long orderid;

    private Long phoneid;

    private Long quantity;

    private Double cost;

    private String phonename;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderid() {
        return orderid;
    }

    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    public Long getPhoneid() {
        return phoneid;
    }

    public void setPhoneid(Long phoneid) {
        this.phoneid = phoneid;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public String getPhonename() {
        return phonename;
    }

    public void setPhonename(String phonename) {
        this.phonename = phonename;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
                "id=" + id +
                ", orderid=" + orderid +
                ", phoneid=" + phoneid +
                ", quantity=" + quantity +
                ", cost=" + cost +
                ", phonename='" + phonename + '\'' +
                '}' + "\n";
    }
}